﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Out;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    /// <summary>
    /// 门诊遗嘱
    /// </summary>
    public class ClinicalOrderManageDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.out.service.inter.dubbo.ClinicalOrderManageDubboService";
        /// <summary>
        /// 【7-100095-01】保存外部医嘱信息
        /// </summary>
        public GateWayMethod saveExClinicalOrder => new SaveExClinicalOrder(url);
    }

    public class SaveExClinicalOrder : GateWayMethod
    {
        public SaveExClinicalOrder(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "saveExClinicalOrder";

        public override string paramClass => "cc.ewell.his.out.upon.req.clinicalOrder.SaveExClinicalOrderRequest";

        public override DubboParamType paramType => DubboParamType.defaultParam;

        public override Type requestParamType => typeof(SaveExClinicalOrderRequest);

        public override Type responseParamType => typeof(SaveExClinicalOrderResponse);

        public override string desc => "【7-100095-01】保存外部医嘱信息";
    }
}
